package com.linksfield.topup.entity.interfaces.login.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
/**
 * 登录时：
 * request：前端 RequestLogin
 * response：后端 ResponseLogin
 *
 * @author: lm
 * @date: 2019-11-21 15:40
 */
@Data
public class ResponseLogin implements Serializable {

    private static final long serialVersionUID = 6027508174113751966L;

    @ApiModelProperty(value = "企业唯一编码。登录成功，普通用户存在 ", example = "P000270", dataType = "String")
    private String partnerCode;

    @ApiModelProperty(value = "角色：管理员是1；普通用户是2。登录成功存在", example = "2", dataType = "String")
    private String rolesId;

    @ApiModelProperty(value = "登录token,登录成功存在", example = "wrdgfhgkjvhkb,lblbnln;n", dataType = "String")
    private String token;

    @ApiModelProperty(value = "登录之后返显的用户名", example = "admin", dataType = "String")
    private String account;
}
